#来自于The Python LIbrary ReferenceError  P1318
#2021-04-27 12:29
import tkinter as tk
class App(tk.Frame):
    def __init__(self,master=None):
        super().__init__(master)
        self.pack()

root = tk.Tk()
#create the application
myapp = App(master=root)

#
# here are method calls to the window manager class
#
myapp.master.title("My Do-Nothing Application")
myapp.master.maxsize(1000,400)

# start the program
myapp.mainloop()
